package router

import (
	"github.com/gin-gonic/gin"
	"choujiang/box_server/handler"
)

func RegisterNews(router *gin.RouterGroup) {
	r := router.Group("/news")
	r.GET("/list", handler.GetNewsList)
	r.GET("/detail", handler.GetNewsDetail)
}
